package jmu.edu.yjc.domain.bo;

import jmu.edu.yjc.domain.vo.user.UserVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MessageBo {
    //消息ID
    private Long id;
    private String messageId;
    private String type;
    //消息内容
    private String message;
    //消息状态,0正常发送,1撤回
    private String messageStatus;
    //发送者id
    private Long fromUserId;
    //接收者id
    private Long toUserId;
    //是否已读 0已读1未读
    private String isCheck;
    //创建者
    private Long createBy;
    //创建时间
    private Date createTime;
    //更新者
    private Long updateBy;
    //更新时间
    private Date updateTime;
    private String fileName;
    private String fileSize;
    private String delFlag;
    private UserVo user;
}
